package com.cdtye.itps.cms.dao.detect;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cdtye.common.mybatiscore.base.BaseEntity;
import com.cdtye.common.webcore.util.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 设备履历表  包含123456c的属性信息  连接厂家 分类表 对应关系1对1
 * @author sup
 * @date 2021-08-17
 */
@ApiModel("设备履历表  包含123456c的属性信息  连接厂家 分类表 对应关系1对1")
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("JCJC_EQUIPMENT_DIVCE_ATTR")
public class JcjcEquipmentDivceAttr extends BaseEntity {


    @ApiModelProperty(value = "设备名称")
    private String divceName;

    @ApiModelProperty(value = "EQT_TYPE表id")
    private String typeId;

    @ApiModelProperty(value = "sys_dept表id")
    private String deptId;

    @ApiModelProperty(value = "安装车号")
    private String carId;

    @ApiModelProperty(value = "0/1/2/3  崭新 良好 老化 报废")
    private String divceState;

    @ApiModelProperty(value = "设备型号")
    private String divceType;

    @ApiModelProperty(value = "设备编号")
    private String divceNumber;

    @ApiModelProperty(value = "目前只是单位id  公司信息未录入")
    private String divceTypeId;

    @ApiModelProperty(value = "投运日期")
    @DateTimeFormat(pattern = DateUtil.DATETIME_FORMAT)
    @JSONField(format = DateUtil.DATETIME_FORMAT)
    private Date divceDate;

    @ApiModelProperty(value = "EQT_PRODUCER id")
    private String producerId;

    @ApiModelProperty(value = "设备寿命")
    private String divceAge;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "sys_dept的id")
    private String sysId;

    @ApiModelProperty(value = "mongo 库的 line表的 lineNo")
    private String lineNo;

    @ApiModelProperty(value = "JC_LINE_SITE 表的 line_site_id")
    private String lineSiteId;

    @ApiModelProperty(value = "JCW_PILLAR表的pillar_number")
    private String pillarNumber;

    @ApiModelProperty(value = "安装位置")
    private String installLocation;

    @ApiModelProperty(value = "设备编码")
    private String eqtNumber;

}
